package com.pojo;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;


@Getter
@Setter
@NoArgsConstructor
public class User {
    /*@NotBlank(message = "用户名不能为空")
    @Length(max = 20, message = "用户名长度不能大于20")*/
    private int id;
    private String password;
    /*@NotBlank(message = "密码不能为空")
    @Length(min = 8,max = 16, message = "密码长度为8-16位")*/
    private String position;
    private String email;
    private String phone;
    private String name;
    private String sex;
    private String birth;
}
